package com.hust360.percent.pojo;

import java.io.Serializable;
import java.util.List;

public abstract class Brandlike implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3374359740247252636L;
	public Long id;
	public Long uid;
	public Long brandId;
	
	public static final String ID = "id";
	public static final String UID = "uid";
	public static final String BRANDID = "brandId";
	public static final String TABLE = "brand_like";
	
	public abstract User getUser();
	public abstract Brand getBrand();
	
	/**
	 * 获取区域下的所有的店铺
	 * @return
	 */
	public abstract List<Shop> getShop();
	
	public interface BrandlikeDAO {
		public void save(Brandlike like);
		public Brandlike findByBrandId(Long id);
	}
	
}
